from selenium import webdriver
from selenium.webdriver.common.keys import Keys
# from selenium.webdriver.firefox.firefox_binary import FirefoxBinary
# binary = FirefoxBinary(r'C:\Program Files (x86)\Mozilla Firefox\fixfox.exe')
# browser = webdriver.Firefox(firefox_binary=binary)
browser = webdriver.Chrome()
browser.get('http://www.yahoo.com')
# assert 'Yahoo!' in browser.title

elem = browser.find_element_by_name('p')
elem.send_keys('seleniumhq' + Keys.RETURN)

browser.quit()
